home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
17 Bit Software 3: The Continuation
/
17-Bit_The_Continuation_Disc.iso
/
files
/
nz18.dms
/
nz18.adf
/
BASIC to Hardware
/
MouseCheck
< prev
next >
Wrap
Text File
|
1993-12-03
|
221b
|
14 lines
'Left mouse button
'From J.Murphy
'Checks FIRE0 signal
PRINT "Mouse check"
PRINT "Click the left mouse button..."
a&=&HBFE*&H1000+1:REM Address of CIAA
start:
p=PEEK(a&)
IF (p AND 64)=0 THEN PRINT "Pressed"
GOTO start